<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
  <head>
    <title>
    </title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <link rel="stylesheet" href="css/ui-btn.css">
    <link rel="stylesheet" href="css/ui-img.css">
    <link rel="stylesheet" href="css/ui-list.css">
    <link rel="stylesheet" href="css/ui-base.css">
    <link rel="stylesheet" href="css/ui-box.css">
    <link rel="stylesheet" href="css/ui-color.css">
	<link rel="stylesheet" href="css/pic.css">
	<link rel="stylesheet" href="css/ui-media.css">
    <script src="js/zy_control.js"></script>
	<script src="js/zy_anim.js"></script>
    <script src="js/zy_click.js"></script>
  </head>
<body class="um-vp" ontouchstart style="background: url('css/images/forumlist_bg.png') repeat scroll 0 0 #000;">
		
	<div id="content" class="ub-f1 tx-l t-bla ub-img6 res10">
		<!--列表开始-->
		<div id="forum_list">
			<div class="outDiv" id="leftPic">	
			</div>
			<div class="outDiv" id="rightPic">
			</div>		  
		</div>
		<!--列表结束-->
		<button class="foot" id="nextpage" ontouchstart="zy_touch('btn-newact')" onclick="getMorePic();">查看下8条</button>
		<div style="text-align:center;height:0.5em;">&nbsp;</div>
     </div>
</body>
<script src="js/zepto.js"></script>
<script src="js/zy_icache.js"></script>
<script src="js/base64.js"></script>
<script src="js/pic.js"></script>
<script>
zy_init();
window.uexOnload=function(type)
{
	if(!type){
		zy_initcache(function(){});
	}
	getPicList();
}

	//用于瀑布流自动加载
	//兼容Android,iphone
	$(window).on('touchend',function(e){
		var a = document.body.scrollHeight;
		var b = document.documentElement.clientHeight;
		var c = document.documentElement.scrollTop + document.body.scrollTop;
		//var c = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
		var totalHeight = c+b+30;
		if(totalHeight >= a ){
			$('#nextpage').text('数据加载中……');
			getMorePic();
		} 
	})
	
	/*
	//下面的方法android可行，但是iphone不兼容
	window.onscroll = function(){
		var a=document.body.scrollHeight;
		var b=document.documentElement.clientHeight;
		var c=document.documentElement.scrollTop + document.body.scrollTop;
		//var c = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;
		var totalHeight = c+b+10;
		if(totalHeight >= a ){
			$('#nextpage').text('数据加载中……');
			getMorePic();
		} 
	} */

</script>
</html>